import ax from '@/utils/request'

export function add(data) {
  return ax.request({
    url: 'deferredExamApply/add',
    method: 'post',
    data
  })
}

export function del(data) {
  return ax.request({
    url: 'deferredExamApply/delete',
    method: 'post',
    data: '842877104092745728'
  })
}

export function edit(data) {
  return ax.request({
    url: 'deferredExamApply/edit',
    method: 'post',
    data
  })
}
export function list(data) {
  return ax.request({
    url: 'deferredExamApply/list',
    method: 'post',
    data
  })
}
export function view(params) {
  return ax.request({
    url: 'deferredExamApply/view',
    method: 'post',
    params
  })
}
